{{extend '../layout.html'}}

{{block 'content'}}
<div class="main">
    <form class="form-group col-md-3" action="/login" method="POST">
        {{if warnMess}}
        <div class="alert alert-warning" role="alert">
            {{warnMess}}
        </div>
        {{/if}}
        <div class="form-group">
            <label for="exampleInputEmail1">Email address</label>
            <input type="email" name="email" class="form-control" id="exampleInputEmail1" aria-describedby="emailHelp" placeholder="Enter email">
        </div>
        <div class="form-group">
            <label for="exampleInputPassword1">Password</label>
            <input type="password" name="password" class="form-control" id="exampleInputPassword1" placeholder="Password">
        </div>
        <button type="submit" class="btn btn-primary">登录</button>
    </form>
</div>
{{/block}}
